import React from 'react';
import {useRoutes} from "react-router-dom";
import * as Page from '../page';

const Router = () => {
    return useRoutes([
      {path: '/', element: <Page.LoadBalancing />},
      {path: '/loadBalancing', element: <Page.LoadBalancing />},
      {path: '/orgBehaviorPrediction', element: <Page.OrgBehaviorPrediction />},
      {path: '/userBehaviorPrediction', element: <Page.UserBehaviorPrediction />},
      {path: '/correlationAnalysis', element: <Page.CorrelationAnalysis />},
      {path: '/NLP', element: <Page.NLP />}
    ]);
}

export default Router;
